﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using SwenAssignment3.Classes;

namespace SwenAssignment3.ReportingModule
{
    public partial class SpecificDay : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void Buttonsearch_Click(object sender, EventArgs e)
        {
            DateTime search = Convert.ToDateTime(TextBox1.Text);
            GridView1.DataSource = DRHotelDBManager.retrieveGuestDetails(search);
            GridView1.DataBind();
           
        }
    }
}